import request from '@/utils/request'

// 封装登录接口
export function login({ mobile, password }) {
  return request.post('/sys/login', { mobile, password })
}

export function getInfo() {
  return request.post('/sys/profile')
}

export const getInfos = (id) => {
  return request.get(`/sys/user/${id}`)
}

export function logout() {

}
